\hypertarget{classversion_sync_1_1pim_parser_1_1pim_parser}{
\section{versionSync.pimParser.pimParser Class Reference}
\label{classversion_sync_1_1pim_parser_1_1pim_parser}\index{versionSync::pimParser::pimParser@{versionSync::pimParser::pimParser}}
}


Parser for pim data stored in evolution files.  


\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
def \hyperlink{classversion_sync_1_1pim_parser_1_1pim_parser_acb363a385c4b11024ee58d0c49a9b4e7}{\_\-\_\-init\_\-\_\-}
\item 
\hypertarget{classversion_sync_1_1pim_parser_1_1pim_parser_a76e3f5959db8e1041c9bae819f187f2a}{
def {\bfseries setSvnWcopy}}
\label{classversion_sync_1_1pim_parser_1_1pim_parser_a76e3f5959db8e1041c9bae819f187f2a}

\item 
\hypertarget{classversion_sync_1_1pim_parser_1_1pim_parser_ad7a8f983942aaa6a09247f0cfd5bd8a9}{
def {\bfseries setSplitPath}}
\label{classversion_sync_1_1pim_parser_1_1pim_parser_ad7a8f983942aaa6a09247f0cfd5bd8a9}

\item 
def \hyperlink{classversion_sync_1_1pim_parser_1_1pim_parser_a38f99d71e2c4c0fdcfff13d8210c05fb}{icsSplit}
\item 
def \hyperlink{classversion_sync_1_1pim_parser_1_1pim_parser_aa79969d72fdbbf8a4cd354d390ff6425}{contactSplit}
\item 
def \hyperlink{classversion_sync_1_1pim_parser_1_1pim_parser_ae6bb9cb34e0b304bd5f811e0cdf6c2a1}{memosSplit}
\begin{DoxyCompactList}\small\item\em \hyperlink{classversion_sync_1_1pim_parser_1_1pim_parser_ae6bb9cb34e0b304bd5f811e0cdf6c2a1}{memosSplit()} split journal.ics of evolution in entries that are stored separately in directories located in the workingcopy/memos \item\end{DoxyCompactList}\item 
def \hyperlink{classversion_sync_1_1pim_parser_1_1pim_parser_a936b3c5b55b6687bdb5fd1b8be54e7dc}{calendar\_\-dtstamp\_\-parse}
\item 
def \hyperlink{classversion_sync_1_1pim_parser_1_1pim_parser_ad65081fb42fd5fb8dc5c509de0b40535}{memo\_\-dtstamp\_\-parse}
\begin{DoxyCompactList}\small\item\em parse the memo DTSTAMP in iso8601 format \item\end{DoxyCompactList}\item 
def \hyperlink{classversion_sync_1_1pim_parser_1_1pim_parser_a079550c76477d107a0cdabbdb6f19157}{contact\_\-rev\_\-parse}
\item 
def \hyperlink{classversion_sync_1_1pim_parser_1_1pim_parser_aa3d3ca3e1a0b00fb83e16ce385bd8196}{ics\_\-body\_\-cleaner}
\begin{DoxyCompactList}\small\item\em made the research result showing only some informations stored in the memo or event entry founded. \item\end{DoxyCompactList}\item 
def \hyperlink{classversion_sync_1_1pim_parser_1_1pim_parser_aa3e7b09d005ac1f465674bd60c567ea7}{vcard\_\-body\_\-cleaner}
\begin{DoxyCompactList}\small\item\em makes the research result showing only some informations stored in the contact entry founded. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classversion_sync_1_1pim_parser_1_1pim_parser_a142df9ff12bc40991ff3aa66cddf2ba7}{
{\bfseries svn\_\-wcopy}}
\label{classversion_sync_1_1pim_parser_1_1pim_parser_a142df9ff12bc40991ff3aa66cddf2ba7}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Parser for pim data stored in evolution files. \begin{DoxyAuthor}{Author}
Alessio Di Pietro 

Irene Scionti \begin{DoxyVerb}
Parse pim information from ics and berkley db file format for single entry versioning
\end{DoxyVerb}
 
\end{DoxyAuthor}


Definition at line 17 of file pimParser.py.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{classversion_sync_1_1pim_parser_1_1pim_parser_acb363a385c4b11024ee58d0c49a9b4e7}{
\index{versionSync::pimParser::pimParser@{versionSync::pimParser::pimParser}!\_\-\_\-init\_\-\_\-@{\_\-\_\-init\_\-\_\-}}
\index{\_\-\_\-init\_\-\_\-@{\_\-\_\-init\_\-\_\-}!versionSync::pimParser::pimParser@{versionSync::pimParser::pimParser}}
\subsubsection[{\_\-\_\-init\_\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}def versionSync.pimParser.pimParser.\_\-\_\-init\_\-\_\- (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{settings}
\end{DoxyParamCaption}
)}}
\label{classversion_sync_1_1pim_parser_1_1pim_parser_acb363a385c4b11024ee58d0c49a9b4e7}
\begin{DoxyVerb}
Constructor
@param
\end{DoxyVerb}
 

Definition at line 22 of file pimParser.py.



\subsection{Member Function Documentation}
\hypertarget{classversion_sync_1_1pim_parser_1_1pim_parser_a936b3c5b55b6687bdb5fd1b8be54e7dc}{
\index{versionSync::pimParser::pimParser@{versionSync::pimParser::pimParser}!calendar\_\-dtstamp\_\-parse@{calendar\_\-dtstamp\_\-parse}}
\index{calendar\_\-dtstamp\_\-parse@{calendar\_\-dtstamp\_\-parse}!versionSync::pimParser::pimParser@{versionSync::pimParser::pimParser}}
\subsubsection[{calendar\_\-dtstamp\_\-parse}]{\setlength{\rightskip}{0pt plus 5cm}def versionSync.pimParser.pimParser.calendar\_\-dtstamp\_\-parse (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{entry\_\-uid}
\end{DoxyParamCaption}
)}}
\label{classversion_sync_1_1pim_parser_1_1pim_parser_a936b3c5b55b6687bdb5fd1b8be54e7dc}

\begin{DoxyParams}{Parameters}
{\em entry\_\-uid} & uid of the event entry \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
calendar event dtstamp in iso8601 format \begin{DoxyVerb}
parse the dtstamp content field of calendar event in iso8601 format
\end{DoxyVerb}
 
\end{DoxyReturn}


Definition at line 204 of file pimParser.py.

\hypertarget{classversion_sync_1_1pim_parser_1_1pim_parser_a079550c76477d107a0cdabbdb6f19157}{
\index{versionSync::pimParser::pimParser@{versionSync::pimParser::pimParser}!contact\_\-rev\_\-parse@{contact\_\-rev\_\-parse}}
\index{contact\_\-rev\_\-parse@{contact\_\-rev\_\-parse}!versionSync::pimParser::pimParser@{versionSync::pimParser::pimParser}}
\subsubsection[{contact\_\-rev\_\-parse}]{\setlength{\rightskip}{0pt plus 5cm}def versionSync.pimParser.pimParser.contact\_\-rev\_\-parse (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{entry\_\-uid}
\end{DoxyParamCaption}
)}}
\label{classversion_sync_1_1pim_parser_1_1pim_parser_a079550c76477d107a0cdabbdb6f19157}

\begin{DoxyParams}{Parameters}
{\em entry\_\-uid} & uid of the contact entry \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
contact rev in iso8601 format \begin{DoxyVerb}
parse the rev content field of contact entry in iso8601 format
\end{DoxyVerb}
 
\end{DoxyReturn}


Definition at line 227 of file pimParser.py.

\hypertarget{classversion_sync_1_1pim_parser_1_1pim_parser_aa79969d72fdbbf8a4cd354d390ff6425}{
\index{versionSync::pimParser::pimParser@{versionSync::pimParser::pimParser}!contactSplit@{contactSplit}}
\index{contactSplit@{contactSplit}!versionSync::pimParser::pimParser@{versionSync::pimParser::pimParser}}
\subsubsection[{contactSplit}]{\setlength{\rightskip}{0pt plus 5cm}def versionSync.pimParser.pimParser.contactSplit (
\begin{DoxyParamCaption}
\item[{}]{self}
\end{DoxyParamCaption}
)}}
\label{classversion_sync_1_1pim_parser_1_1pim_parser_aa79969d72fdbbf8a4cd354d390ff6425}
\begin{DoxyReturn}{Returns}
contact\_\-files a list containing all the split entries stored \begin{DoxyVerb}
Splits a berkley db file into multiple bdb files (named with entry UID) 
that contain the single entry

\end{DoxyVerb}
 
\end{DoxyReturn}


Definition at line 109 of file pimParser.py.

\hypertarget{classversion_sync_1_1pim_parser_1_1pim_parser_aa3d3ca3e1a0b00fb83e16ce385bd8196}{
\index{versionSync::pimParser::pimParser@{versionSync::pimParser::pimParser}!ics\_\-body\_\-cleaner@{ics\_\-body\_\-cleaner}}
\index{ics\_\-body\_\-cleaner@{ics\_\-body\_\-cleaner}!versionSync::pimParser::pimParser@{versionSync::pimParser::pimParser}}
\subsubsection[{ics\_\-body\_\-cleaner}]{\setlength{\rightskip}{0pt plus 5cm}def versionSync.pimParser.pimParser.ics\_\-body\_\-cleaner (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{body}
\end{DoxyParamCaption}
)}}
\label{classversion_sync_1_1pim_parser_1_1pim_parser_aa3d3ca3e1a0b00fb83e16ce385bd8196}


made the research result showing only some informations stored in the memo or event entry founded. 


\begin{DoxyParams}{Parameters}
{\em body} & field body of result's record searched in memos\_\-index or calendar\_\-index of fts\_\-index.db \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
cleaned\_\-body body without some tags \begin{DoxyVerb}
clean the body removing those tags that have meaningless informations for the user.
those tags are indicated in enum ics_clean_tags
\end{DoxyVerb}
 
\end{DoxyReturn}


Definition at line 238 of file pimParser.py.

\hypertarget{classversion_sync_1_1pim_parser_1_1pim_parser_a38f99d71e2c4c0fdcfff13d8210c05fb}{
\index{versionSync::pimParser::pimParser@{versionSync::pimParser::pimParser}!icsSplit@{icsSplit}}
\index{icsSplit@{icsSplit}!versionSync::pimParser::pimParser@{versionSync::pimParser::pimParser}}
\subsubsection[{icsSplit}]{\setlength{\rightskip}{0pt plus 5cm}def versionSync.pimParser.pimParser.icsSplit (
\begin{DoxyParamCaption}
\item[{}]{self}
\end{DoxyParamCaption}
)}}
\label{classversion_sync_1_1pim_parser_1_1pim_parser_a38f99d71e2c4c0fdcfff13d8210c05fb}
\begin{DoxyReturn}{Returns}
event\_\-files a list containing all the split entries stored \begin{DoxyVerb}
Splits an ics file into multiple ics files (named with entry UID) 
that contain the single entry
\end{DoxyVerb}
 
\end{DoxyReturn}


Definition at line 71 of file pimParser.py.

\hypertarget{classversion_sync_1_1pim_parser_1_1pim_parser_ad65081fb42fd5fb8dc5c509de0b40535}{
\index{versionSync::pimParser::pimParser@{versionSync::pimParser::pimParser}!memo\_\-dtstamp\_\-parse@{memo\_\-dtstamp\_\-parse}}
\index{memo\_\-dtstamp\_\-parse@{memo\_\-dtstamp\_\-parse}!versionSync::pimParser::pimParser@{versionSync::pimParser::pimParser}}
\subsubsection[{memo\_\-dtstamp\_\-parse}]{\setlength{\rightskip}{0pt plus 5cm}def versionSync.pimParser.pimParser.memo\_\-dtstamp\_\-parse (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{entry\_\-uid}
\end{DoxyParamCaption}
)}}
\label{classversion_sync_1_1pim_parser_1_1pim_parser_ad65081fb42fd5fb8dc5c509de0b40535}


parse the memo DTSTAMP in iso8601 format 


\begin{DoxyParams}{Parameters}
{\em entry\_\-uid} & uid of the memo entry \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
dtstamp in iso8601 format \begin{DoxyVerb}
parse the dtstamp content field of memo in iso8601 format
\end{DoxyVerb}
 
\end{DoxyReturn}


Definition at line 216 of file pimParser.py.

\hypertarget{classversion_sync_1_1pim_parser_1_1pim_parser_ae6bb9cb34e0b304bd5f811e0cdf6c2a1}{
\index{versionSync::pimParser::pimParser@{versionSync::pimParser::pimParser}!memosSplit@{memosSplit}}
\index{memosSplit@{memosSplit}!versionSync::pimParser::pimParser@{versionSync::pimParser::pimParser}}
\subsubsection[{memosSplit}]{\setlength{\rightskip}{0pt plus 5cm}def versionSync.pimParser.pimParser.memosSplit (
\begin{DoxyParamCaption}
\item[{}]{self}
\end{DoxyParamCaption}
)}}
\label{classversion_sync_1_1pim_parser_1_1pim_parser_ae6bb9cb34e0b304bd5f811e0cdf6c2a1}


\hyperlink{classversion_sync_1_1pim_parser_1_1pim_parser_ae6bb9cb34e0b304bd5f811e0cdf6c2a1}{memosSplit()} split journal.ics of evolution in entries that are stored separately in directories located in the workingcopy/memos 

\begin{DoxyReturn}{Returns}
memos\_\-files a list containing all the split entries stored 
\end{DoxyReturn}


Definition at line 169 of file pimParser.py.

\hypertarget{classversion_sync_1_1pim_parser_1_1pim_parser_aa3e7b09d005ac1f465674bd60c567ea7}{
\index{versionSync::pimParser::pimParser@{versionSync::pimParser::pimParser}!vcard\_\-body\_\-cleaner@{vcard\_\-body\_\-cleaner}}
\index{vcard\_\-body\_\-cleaner@{vcard\_\-body\_\-cleaner}!versionSync::pimParser::pimParser@{versionSync::pimParser::pimParser}}
\subsubsection[{vcard\_\-body\_\-cleaner}]{\setlength{\rightskip}{0pt plus 5cm}def versionSync.pimParser.pimParser.vcard\_\-body\_\-cleaner (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{body}
\end{DoxyParamCaption}
)}}
\label{classversion_sync_1_1pim_parser_1_1pim_parser_aa3e7b09d005ac1f465674bd60c567ea7}


makes the research result showing only some informations stored in the contact entry founded. 


\begin{DoxyParams}{Parameters}
{\em body} & field body of result's record searched in table contacts\_\-index of fts\_\-index.db \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
cleaned\_\-body body with only some tags \begin{DoxyVerb}
clean the body leaving those tags that have meaningful informations for the user.
those tags that aren't indicated in enum cntc_except_tags are removed
\end{DoxyVerb}
 
\end{DoxyReturn}


Definition at line 269 of file pimParser.py.



The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
/home/alessio/workspace/versionSync/versionSync/src/versionSync/pimParser.py\end{DoxyCompactItemize}
